package org.yzl.designPatterns.abstractfactory;

import org.yzl.designPatterns.abstractfactory.impl.MailSenderFactoryImpl;

/**
 * 抽象工厂模式
 */
public class AbstractFactoryTest {
    public static void main(String[] args) {
        IProvider sender = new MailSenderFactoryImpl();
        sender.produce().send();
    }
}
